<div class="row">

    <div class=" col-md-2">
        <h2><kbd><?php echo __('Actions'); ?></kbd></h2>
        <hr/>
        <ul class="nav nav-stacked">
            <li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Profile.users_id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Profile.users_id'))); ?></li>
            <li><?php echo $this->Html->link(__('List Profiles'), array('action' => 'index')); ?></li>
            <li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
            <li><?php echo $this->Html->link(__('New Users'), array('controller' => 'users', 'action' => 'add')); ?> </li>
        </ul>
    </div>
    <div class="profiles col-md-10">
        <h2><?php echo __('Edit Profile'); ?></h2>
        <hr/>
        <?php echo $this->Form->create('Profile', array('class' => 'form-horizontal', 'inputDefaults' => array('label' => false))); ?>
        <fieldset>
            <div class="form-group">
                <label class="control-label col-md-2">Name</label>

                <div class="col-md-4">
                    <?php echo $this->Form->input('name', array('type' => 'text', 'class' => 'form-control', 'placeholder' => 'Name...')); ?>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2">Gender</label>

                <div class="col-md-4">
                    <?php
                    $options = array('' => '--Select Gender--', 'Male' => 'Male', 'Female' => 'Female', 'Gay' => 'Gay', 'Les' => 'Les');
                    echo $this->Form->input('gender', array('options' => $options, 'class' => 'form-control'));
                    ?>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2">Adress</label>

                <div class="col-md-4">
                    <?php echo $this->Form->input('address', array('type' => 'text', 'class' => 'form-control', 'placeholder' => 'Address...')); ?>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2">Phone number</label>

                <div class="col-md-4">
                    <?php echo $this->Form->input('phone', array('type' => 'number', 'class' => 'form-control', 'placeholder' => 'Phone...')); ?>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2">Birthday</label>

                <div class="col-md-4">
                    <?php echo $this->Form->input('birthday', array('class' => 'form-control', 'placeholder' => 'Birthday...')); ?>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-offset-2 col-md-2">
                    <?php echo $this->Form->Submit(__('Submit'), array('class' => 'btn btn-danger')); ?>
                </div>
            </div>
        </fieldset>

        <?php echo $this->Form->end(); ?>
    </div>


</div>